package cn.xianshu.vo;

import cn.xianshu.util.PageList;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
public class AggPageList extends PageList {

    private Map<String, List<TermsAggBucket>> termsAggResult = new HashMap<>();

    public AggPageList(long total, List rows, Map<String, List<TermsAggBucket>> termsAggResult) {
        super(total, rows);
        this.termsAggResult = termsAggResult;
    }

    public AggPageList() {}
}
